package cn.iocoder.yudao.module.ai.controller.admin.operationequ.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 运营中心-算力设备新增/修改 Request VO")
@Data
public class OperationEquSaveReqVO {

    @Schema(description = "自增编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30934")
    private Long id;

    @Schema(description = "原始消息编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11469")
    @NotNull(message = "原始消息编号不能为空")
    private Long fromMessageId;

    @Schema(description = "在原始消息的消息索引号，从0开始")
    private Integer fromMessageIndex;

    @Schema(description = "原始消息编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18539")
    @NotEmpty(message = "原始消息编号不能为空")
    private String companyId;

    @Schema(description = "设备描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备描述不能为空")
    private String equipmentDesc;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备id不能为空")
    private String ip;

    @Schema(description = "cpu温度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "cpu温度不能为空")
    private String cpuTemperature;

    @Schema(description = "cpu负载", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "cpu负载不能为空")
    private String cpuLoad;

    @Schema(description = "内存", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内存不能为空")
    private String mem;

    @Schema(description = "磁盘", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "磁盘不能为空")
    private String disk;

    @Schema(description = "gpu信息,数组格式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "gpu信息,数组格式不能为空")
    private String gpuList;

    @Schema(description = "在线状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "在线状态不能为空")
    private String status;

    @Schema(description = "供应商id", example = "4068")
    private Long suplierId;

}